wayland: add gdk_event_is_scroll_stop_event()
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 21 Oct 2015 00:14:40 +0000 (10:14 +1000)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Jan 2016 20:36:23 +0000 (21:36 +0100)
commit48aa1bb08f89a1f3f8f290da771f183cdd5061d8
tree10cfcc41321a1add28e88503092efa764c358f5b
parent3fca36169a0fd5f19b1b2099547060214f40b904
wayland: add gdk_event_is_scroll_stop_event()

And use it to handle kinetic scrolling in the GtkScrolledWindow.

However, dropping the delta check causes the X11-based kinetic
scroll to break since we don't have the stop event here. Correct handling of
xf86-input-libinput-based scroll events is still being discussed.

https://bugzilla.gnome.org/show_bug.cgi?id=756729
docs/reference/gdk/gdk3-sections.txt
gdk/gdkevents.c
gdk/gdkevents.h
gdk/gdkwindow.c
gdk/wayland/gdkdevice-wayland.c
gtk/gtkscrolledwindow.c